

def retry(cnt,f,*args):
    for i in range(cnt):
        try:
            f(*args)
            break
        except Exception as e:
            e.with_traceback()


